//
//  runtime.h
//  iCodeMac
//
//  Created by Andrew Barry on 28/02/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

void initializeRuntime();
void runScript(NSString *filename, NSString *script);
JSObject *newCoreObject();
void compileEventHandler(NSString *objectName, NSString *eventName, NSDictionary *dict);
void applyEventHandler(JSObject *obj, NSString *eventName, NSDictionary *dict);
void stuffGlobal(NSString *name, JSObject *boundImage);
//void setScriptBreakpoints(NSString *scriptName, NSArray *breakpoints);

#ifdef HASDEBUGGER
void resetBreakpoints(NSDictionary *newBreakpoints);
#endif
